import { createApp } from 'vue'
import App from './App.vue' //App入口组件
import store from './store' //状态管理
import router from './router' //路由

import TypeNav from '@comps/TypeNav/TypeNav.vue' //公共组件TypeNav



import '@/mock/mockServe.js';//引入mockjs模拟数据
import "swiper/css/swiper.css";//引入swiper轮播图样式

const app = createApp(App)
app.use(store) //挂载状态管理
app.use(router)//挂载路由配置
app.component('TypeNav', TypeNav) //挂载公共组件TypeNav
app.mount('#app')
